<?php

$cars= array("000","111","222",);
 echo $cars[1];
 $cars[2] = "Audi";
 
 
 echo"<pre>";
 print_r($cars);
 echo count($cars);
 
 
 foreach($cars as $value) {
     echo $value."<br/>";
 }
 
 echo "<hr/>";
 echo "for.<hr/>";
 $len =count($cars);
 for ($i =0; $i <$len; $i++){
     echo $cars[$i]."<br/>";
 }
 
 
?>
